package com.ayf.payment.game.api.entity;

import com.ayf.payment.game.api.type.YesAndNo;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "g_merchant_config")
public class MerchantConfig implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 商户号
     */
    @Column(name = "merchant_id")
    private Integer merchantId;

    /**
     * 客服QQ
     */
    @Column(name = "customer_qq")
    private String customerQq;

    /**
     * 技术QQ
     */
    @Column(name = "skill_qq")
    private String skillQq;

    /**
     * 最小充值金额
     */
    @Column(name = "min_recharge_amount")
    private Integer minRechargeAmount;

    /**
     * 网站名称
     */
    @Column(name = "net_name")
    private String netName;

    /**
     * 域名
     */
    @Column(name = "domain_name")
    private String domainName;

    /**
     * 留言箱是否开启
     */
    @Column(name = "message_box_status")
    private YesAndNo messageBoxStatus;

    /**
     * 结算周期是否自定义：YES 是；NO否
     */
    @Column(name = "settle_cycle_custom")
    private YesAndNo settleCycleCustom;

    /**
     * 结算周期：0：T+0；1：T+1
     */
    @Column(name = "settle_cycle")
    private Integer settleCycle;

    /**
     * 结算费率标识ID
     */
    @Column(name = "settle_identification_id")
    private Integer settleIdentificationId;

    /**
     * 代理商费率标识ID
     */
    @Column(name = "proxy_identification_id")
    private Integer proxyIdentificationId;

    /**
     * 结算类型: 0-结算到可提现金额；1-结算到银行卡；2-线下结算
     */
    @Column(name = "settle_type")
    private Integer settleType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 最后更新时间
     */
    @Column(name = "last_update_time")
    private Date lastUpdateTime;

    /**
     * 代付状态 0关闭 1开启
     */
    @Column(name = "pay_status")
    private Integer payStatus;

    /**
     * GM后台皮肤 0-蓝色 1-红色
     */
    @Column(name = "web_skin")
    private Integer webSkin;

    /**
     * 充值链接皮肤 0-蓝色 1-红色
     */
    @Column(name = "recharge_skin")
    private Integer rechargeSkin;

    @Column(name = "player_integral_ex_status")
    private Integer playerIntegralExStatus;
    /**
     * 实时结算状态 0关闭 1开启
     */
    @Column(name = "realtime_settle_status")
    private Integer realtimeSettleStatus;

    @Column(name = "player_integral_qq")
    private String playerIntegralQq;

    /**
     * 微信密保类型 0-个人公众号 1-平台公众号 默认0
     */
    @Column(name = "wechat_mb_type")
    private Integer wechatMbType;

    /**
     * 礼包功能状态 0-关 1-开 默认0
     */
    @Column(name = "gift_status")
    private Integer giftStatus;

    /**
     * 唯一标识
     */
    @Column(name = "unique_id")
    private String uniqueId;

    /**
     * 红包领取限制类型 1 按游戏名称限制 2 按玩家公众号ID限制
     */
    @Column(name = "gift_limit_type")
    private Integer giftLimitType;

    /**
     * 红包领取限制次数 0 不限制
     */
    @Column(name = "gift_limit_count")
    private Integer giftLimitCount;
}